'use strict';

const ip = require('ip');

module.exports = () => {
  const config = {};

  // add your config here

  config.security = {
    domainWhiteList: ['http://localhost:8080', 'http://127.0.0.1:8080', `http://${ip.address()}:8080` ],
    csrf: false
  };

  // config.cors = {
  //   origin: '*',
  // };
  
  config.middleware = [ 'testAuth' ];

  return config;
};
